package com.spboot.service;

import com.spboot.entity.Address;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author guocb
 * @since 2020-04-27
 */
public interface AddressService extends IService<Address> {
    List<Address> saddress(Integer userid);
    //修改用户地址
    int updateaddress(String contacts,String phone,String address,Integer addressid);
    //添加用户地址
    int insertaddress(String address,Integer userid,String contacts,String phone);
    //删除用户地址
    int deleteaddress(Integer addressid);
}
